package com.yuan.order.service;

import com.yuan.order.dto.OrderDTO;

/**
 * 买家
 *
 * @Author yuan
 * @Date 2021/2/25 22:07
 */
public interface BuyerService {
    /**
     * 查询一个订单
     *
     * @param openid
     * @param orderId
     * @return
     */
    OrderDTO findOrder(String openid, String orderId);

    /**
     * 取消一个订单
     *
     * @param openid
     * @param orderId
     * @return
     */
    OrderDTO cancelOrder(String openid, String orderId);
}
